package org.szy.plugin.dev.entity;

import com.mybatisflex.annotation.Table;
import org.szy.core.common.entity.BaseEntity;
import org.szy.core.common.listener.BaseInsertListener;
import org.szy.core.common.listener.BaseUpdateListener;

/**
 * 中国行政地区表实体
 *
 * @author wangbuhao
 * @since 2023-06-19 11:08:21
 **/
@Table(value = "dev_area", onInsert = BaseInsertListener.class, onUpdate = BaseUpdateListener.class)
public class DevArea extends BaseEntity {

    /** 父级行政代码 */
    private Long pid;
    /** pids */
    private String pids;
    /** 区域类别
     1.省（自治区、直辖市）
     2.市
     3.县（区） */
    private String category;
    /** 名称 */
    private String name;
    /** 行政代码 */
    private String code;
    /** 邮政编码 */
    private String zipCode;
    /** 区号 */
    private String cityCode;
    /** 简称 */
    private String shortName;
    /** 拼音 */
    private String pinyin;
    /** 经度 */
    private String lng;
    /** 纬度 */
    private String lat;
    /** 层级 */
    private Integer level;
    /** 排序号 */
    private Integer sort;
    /** 状态：0-停用，1-启用 */
    private Integer status;

    public Long getPid() {
        return pid;
    }

    public void setPid(Long pid) {
        this.pid = pid;
    }

    public String getPids() {
        return pids;
    }

    public void setPids(String pids) {
        this.pids = pids;
    }

    public String getCategory() {
        return category;
    }

    public void setCategory(String category) {
        this.category = category;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getZipCode() {
        return zipCode;
    }

    public void setZipCode(String zipCode) {
        this.zipCode = zipCode;
    }

    public String getCityCode() {
        return cityCode;
    }

    public void setCityCode(String cityCode) {
        this.cityCode = cityCode;
    }

    public String getShortName() {
        return shortName;
    }

    public void setShortName(String shortName) {
        this.shortName = shortName;
    }

    public String getPinyin() {
        return pinyin;
    }

    public void setPinyin(String pinyin) {
        this.pinyin = pinyin;
    }

    public String getLng() {
        return lng;
    }

    public void setLng(String lng) {
        this.lng = lng;
    }

    public String getLat() {
        return lat;
    }

    public void setLat(String lat) {
        this.lat = lat;
    }

    public Integer getLevel() {
        return level;
    }

    public void setLevel(Integer level) {
        this.level = level;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }
}
